package gyw.spring.cloud.client_feign.controller;

import gyw.spring.cloud.client_feign.feign.services.DemoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * TODO
 *
 * @author 关彦武
 * @date 2020/6/9 17:20
 */
@RestController
public class DemoController {

    @Autowired
    DemoService demoService;

    @RequestMapping("/demo/mes")
    public String getMes(){
        return demoService.getMes();
    }
}
